package com.deke.home.controller;

import com.deke.home.service.QianHeadService;
import com.deke.home.service.TbHeadNavService;
import com.deke.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：Username 刘亦辰（59372312@qq.com）
 * @date ：Created in 2022/12/21 15:35
 * @description： 前台头部导航
 * @modified By：
 * @version:
 **/
@RestController
@RequestMapping("/home/qian/head")
public class QianHeadController {
    @Autowired
    private QianHeadService headService;

    @GetMapping("getAllHead")
    public Result getAllHead(){
        return headService.getAllHead();
    }
}